import React from "react";
import ReactDOM from "react-dom";

import App from "./components/App";
//引入react-router-dom包
import { BrowserRouter } from "react-router-dom";
//引入css
import "./css/App.min.css";
import "antd-mobile/dist/antd-mobile.min.css";
//引入mock
import "./mock/mock";
//引入react-redux包
import { Provider } from "react-redux";
//引入store
import { store } from "./store/store";

ReactDOM.render(
    <Provider store={store}>
        <BrowserRouter>
            <App />
        </BrowserRouter>
    </Provider>,
    document.getElementById("root")
);
